package oop3.teacher;

public class JavaTeacher extends Teacher {
    public JavaTeacher(String name, int age, int teaAge, char sex) {
        super(name, age, teaAge, sex);
    }

    void master() {
        System.out.println(super.name+"老师精通Java编程,教授Java相关课程");
    }
}
